package com.group02.community.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group02.community.entity.dict.SysDictType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 字典类型表 Mapper 接口
 * </p>
 *
 * @author xl
 * @since 2022-07-01
 */
@Mapper
@Repository
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

    IPage<SysDictType> selectAllDictionaries(Page<SysDictType> sysDictTypePage, @Param("sysDictType") SysDictType sysDictType);

    void deleteSelectDictionaries(Long[] id);

    List<SysDictType> hasData(List<String> dictType);
}
